# !/usr/bin/env python
# coding=utf-8
# @Time    : 2018/8/7 12:03
# @Author  : 6imensiva
# @Site    : https://gitee.com/dimensiva/rpc_dao.git
# @File    : account_dao.py
# @Software: PyCharm
# @Version: 2.7.5
from . import Session
from db.models import TAccount
from py3_utils import my_sqlalchemy


def add_account(account):
	return my_sqlalchemy.common_insert(Session(), account, TAccount)